Release 10.1A: OpenEdge Reporting:
Query/Results for UNIX
Logical choice box
You call this procedure in Results from within your user file using the following code:
Where the character expression is the text you want displayed in the error message box. For example, after you define a logical variable, you can call this procedure. Include the name of the logical variable in the procedure. Also, include text strings for the first choice, the second choice, and the text that appears at the top of the box. For example:
If you use a question mark (
?) as the character string for the first box and second box, the boxes default to yes and no values. You can include text strings, such asENABLEandDISABLEorONandOFF.For example, this code produces the logical choice box shown in Figure 10–1.
Figure 10–1: User interface generated on code input sample
![]()
The initial value of the first parameter to
INPUT-OUTPUTsets the default choice. For example, if the value of the first parameter toINPUT-OUTPUTis true, the highlight bar rests on the left option (the true value). If the first parameter toINPUT-OUTPUTis false, the highlight bar rests on the right option (the false value).
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |